/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejercicios;

/**
 *
 * @author zpiik3
 */
public class convertidor {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       Integer x= 10;
System.out.println("byte ="+x.byteValue());
System.out.println("long ="+x.longValue());
System.out.println("binary ="+x.toBinaryString(x));
System.out.println("hexa ="+x.toHexString(x));
System.out.println("octal ="+x.toOctalString(x));
System.out.println("ConvertidorEnBases ="+x.parseInt("111", 2));





    }

}
